package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.vo.album.TrackInfoVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

public interface TrackInfoService extends IService<TrackInfo> {


    void saveTrackInfo(Long userId);

    Object uploadTrack(MultipartFile file);

    IPage<TrackInfoVo> findUserTrackPage(Page<TrackInfoVo> trackInfoVoPage);

    Result removeTrackInfo(Long trackId);

    void updateTrackInfo(Long trackId, TrackInfoVo trackInfoVo);
}
